package com.jiyun.feign;

import com.jiyun.vo.ResultResponse;


import feign.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Title: Mlfeign
 * @Author 杜瑞
 * @Date 2023/8/25 20:56
 */
@FeignClient("day09-ml")
public interface MlFeign {
    @GetMapping("/ml/find1")
    public ResultResponse find1(@RequestParam("id") String id);

    @RequestMapping("/ml/toStudy")
    public ResultResponse toStudy(@RequestParam("id") Long id);
}
